var e = require("@babel/runtime/helpers/interopRequireDefault").default, a = require("@babel/runtime/helpers/interopRequireWildcard").default, r = a(require("./libs/sentry/sentry-miniapp.wx.min")), n = e(require("./libs/eventBus/event.js")), i = e(require("./kta/index")), t = e(require("./utils/check-update")), u = a(require("./config/baseUrl"));

r.init({
    dsn: "https://64ae350ff917402d9917be098e7f9e00@kapi.10010.com/sentry10/48"
});

var o = requirePlugin("live-player-plugin");

i.default.App({
    eventBus: new n.default(),
    kta: i.default,
    onLaunch: function() {},
    onShow: function(e) {
        if (console.log("options", e), console.log("请求域名", this.globalData.baseUrl), (0, 
        t.default)(), 1038 === e.scene) {
            var a = e.referrerInfo, r = a.appId, n = a.extraData;
            if ("wxbd687630cd02ce1d" === r) {
                if (void 0 === n) return;
                "SUCCESS" === n.return_code && wx.navigateTo({
                    url: "/pages/queryRemain/index"
                });
            }
            1007 !== e.scene && 1008 !== e.scene && 1044 !== e.scene || o.getShareParams().then(function(e) {
                i.default.clickStat("3362356b486b43c2815060412725d1c4", {
                    roomId: e.room_id,
                    openid: e.openid,
                    shareOpenid: e.share_openid
                });
            });
        }
        if (e.query.a && (this.globalData.aucMiniAuth.a = e.query.a), e.query.channel && (this.globalData.aucChannel = e.query.channel), 
        e.referrerInfo && e.referrerInfo.extraData) {
            var u = e.referrerInfo.extraData;
            this.globalData.extraData = u, console.log("extraData", u);
        }
    },
    onHide: function() {},
    globalData: {
        appid: "wxc47d9eb33eec8b6a",
        loginCode: "",
        hasAuth: !1,
        aucMiniAuth: {
            a: "13306892",
            sid: "",
            aucCookie: ""
        },
        aucChannel: "01-0379-5961-9999",
        phone: "",
        aucPhone: "",
        spread_id: "",
        actionEndFlag: !1,
        userInfo: {
            nickName: "",
            avatarUrl: ""
        },
        token: "",
        env: "pro",
        baseUrl: u.default,
        bindurl: u.bindurl
    }
});